docs(spec): record text.value as deliberately omitted (#13670) - #13820
Merged
Conversation
The expression-bindable-text-keys module's docblock lists the component-renderer read points it deliberately has not declared a row for yet. `text`'s fallback read of `schema.value` (behind `schema.content || schema.value`) was missing from that list, leaving the omission unrecorded rather than decided. The #13670 ruling settled the question: text's intended evaluation channel is `content` alone, and `text.value` is declared OUT — adding a `text: ['value']` row would legitimize a second evaluation path for the same slot. This records that decision in the docblock's known- omitted list, with the ruling cited. No carriage row, no behavior change; `content/docs/references/ui/expression-bindable-text-keys.mdx` is the regenerated projection (`pnpm --filter @objectstack/spec gen:docs`). _Generated by [Claude Code](https://claude.ai/code/session_01PBjwYLS6BciTQW3c9xQiD2)_
Contributor
📓 Docs Drift Check
What this run could not see
Coarse fallback — 127 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
This was referenced Aug 31, 2026
os-warren
marked this pull request as ready for review
August 31, 2026 14:40
os-warren
enabled auto-merge
August 31, 2026 14:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #13670
Scope
Spec-side implementation of ruling comment #13670 (comment-5478581056) clause 2 only:
packages/spec/src/ui/expression-bindable-text-keys.zod.ts's docblock "known-omitted"list did not mention
text. It now records thattext.valueis deliberately OUT —text's intended evaluation channel iscontentalone (its own already-evaluatedcarriage leg),
valueis only the renderer'sschema.content || schema.valuefallbackspelling for the same slot, and a
text: ['value']row would legitimize that fallbackand give one slot two declared evaluation paths.
⛔ No carriage row added, no behavior/runtime code touched, no
textentry inEXPRESSION_BINDABLE_TEXT_KEYS_BY_COMPONENT. objectui#7015 (23 tutorial occurrences,value→content) and objectui#7016 (theTextSchema.valuefallback-spelling ADR-0049enforce-or-remove question) are separate, out of scope here.
Change
packages/spec/src/ui/expression-bindable-text-keys.zod.ts— one paragraph added tothe module docblock's "Why these rows" section, citing this issue's ruling.
content/docs/references/ui/expression-bindable-text-keys.mdx— regenerated projectionof the same docblock (
pnpm --filter @objectstack/spec gen:docs, viacheck:generated --fix; never hand-edited).Premise check
Verified against
origin/mainbefore editing: the docblock's known-omitted list(
alert/empty/dialog/badge/form-inputs) still had notextentry — premise held.Tests
At commit
5fcfcf7d(this PR's head):pnpm --filter @objectstack/spec build— clean (34/34 declared.d.tspresent).pnpm --filter @objectstack/spec typecheck(tsc --noEmit+ scripts + test-layertypecheck) — clean; the pre-existing
test-typecheck-debt.jsonledger (262 errors /146 pinned signatures) is unchanged, shrink-only baseline, unrelated to this diff.
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack— derived 48local gate families for this diff's 2 changed paths. Ran all 48 (captured pipeline
status before any pipe, per AGENTS.md):
check:generated,check:authorable-surface,check:docs,check:doc-authoring,check:doc-anchors,check:corpus-claim-drift,check:quick-reference-counts,check:cross-package-test-inputs, and the rest).findings):
check-dev-prereqs,check-test-completeness(explicitly documents itis unreachable without a saved
turbo run testlog),check:doc-formula-expressions,check:doc-security-posture,check:skill-examples,check:dual-build-cjs-loads—all six gate on a full
pnpm buildacross the ~79-package workspace (missingdist/for@objectstack/formula,@objectstack/lint,@objectstack/client-react,and ~70 more), which is out of this task's local-verification scope (AGENTS.md
"本地验证范围" — the farm is CI's run, not a single-file docblock PR's). None of the
six reads or gates the two files this PR touches. Read as NOT MEASURED, not green,
not red.
check:generated— clean after--fixregenerated exactly the one stale artifact(
content/docs/references/**); no other of the 14 tracked artifacts moved.grep -naP '[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]'over both changed files — no controlbytes.
Changeset
None.
packages/spec/src/ui/expression-bindable-text-keys.zod.ts's diff is comment-only(no export, no schema, no runtime behavior changed);
content/docs/references/**is itsregenerated projection. Nothing is released differently by this PR.
skip-changesetlabel applied (additive) per this repo's real skip-changeset mechanism.
Generated by Claude Code